package com.zts.modules.sys.entity;

import com.zts.base.entity.DataEntity;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Created by lzk on 2017/6/16.
 */
public class Code  extends DataEntity {
    @NotNull(message = "类别标识不能为空")
    private String cataCode;          //类别标识
    private String cataName;         //类别名称
    @NotNull(message = "子类标识不能为空")
    private String subCode;          //子类标识
    private String subCodeName;         //子类别名称
    private String status;         //状态

    public String getCataCode() {
        return cataCode;
    }

    public void setCataCode(String cataCode) {
        this.cataCode = cataCode;
    }

    public String getCataName() {
        return cataName;
    }

    public void setCataName(String cataName) {
        this.cataName = cataName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSubCode() {
        return subCode;
    }

    public void setSubCode(String subCode) {
        this.subCode = subCode;
    }

    public String getSubCodeName() {
        return subCodeName;
    }

    public void setSubCodeName(String subCodeName) {
        this.subCodeName = subCodeName;
    }
}
